﻿<UserControl x:Class="DienLib.OfficeLib.PopUpTest"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="446" d:DesignWidth="340" BorderBrush="#FFF14A4A" BorderThickness="6" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <StackPanel Height="Auto" Name="stackPanel1" Width="Auto" Background="#FFF5F5C3">
        <TextBlock FontSize="14" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Name="textBlock1" Text="SIGNATURE : (copy your signature from Outlook)" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" HorizontalAlignment="Stretch" Margin="12" />
        <RichTextBox Height="160" Name="richTextBox1" Width="300" />
        <WrapPanel Height="Auto" Name="wrapPanel1" Width="Auto" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Button BorderThickness="0" Content="TO HTML" FlowDirection="LeftToRight" FontSize="16" FontWeight="Bold" Height="30" Margin="12" Name="button1" Width="140" VerticalAlignment="Center" HorizontalAlignment="Center" Click="button1_Click" DataContext="{Binding}">
                <Button.Foreground>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="#FFAF0000" Offset="1" />
                    </LinearGradientBrush>
                </Button.Foreground>
            </Button>
            <Button BorderThickness="0" Content="TO MAIL" FlowDirection="LeftToRight" FontSize="16" FontWeight="Bold" Height="30" Margin="12" Name="button2" Width="140" VerticalAlignment="Center" HorizontalAlignment="Center" Click="button2_Click">
                <Button.Foreground>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="#FF2BA7A7" Offset="0" />
                        <GradientStop Color="#FF025EAD" Offset="1" />
                    </LinearGradientBrush>
                </Button.Foreground>
            </Button>
        </WrapPanel>
        <RichTextBox Height="160" Name="richTextBox2" Width="300" Margin="0,0,0,12" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Visible" />
    </StackPanel>
</UserControl>
